body {
  font-size: 1.3rem;
}
#banner {
  height: 180px;
  margin-bottom: 20px;
  background-color: #ccc;
}
#main {
  background-color: #fff;
  padding-bottom: 40px;
}
.front #main {
  background: none;
}
.main-topbar .main-topbar-wrapper {
  margin: 0 auto;
}
.main-topbar .logo {
  max-width: 200px;
}
.main-topbar .am-topbar-nav > li {
  margin-top: 9px;
  font-size: 1.4rem;
  padding: 0.5em 1em;
}
.main-topbar .am-topbar-nav > li a {
  padding: 0 0 4px 0;
  line-height: 1.2;
}
.main-topbar .am-topbar-nav > li a:after {
  border: none;
}
.main-topbar .am-topbar-nav > li a:hover {
  background: none;
  border-bottom: 3px solid #333333;
}
.main-topbar .am-topbar-nav > li.active a {
  color: #333333;
  border-bottom: 3px solid #5eb95e;
}
.main-topbar .action-post-activity {
  padding: 0.2rem 0.6rem;
  color: #ffffff;
}
.inline-search-form {
  position: relative;
}
.inline-search-form .search-field {
  padding-left: 1em;
  padding-right: 2.5em;
}
.inline-search-form .search-button {
  position: absolute;
  right: 0;
  top: -0.3rem;
  background: none;
}
.node-event.node-list {
  background-color: #ffffff;
  list-style: none;
  margin: 1.5rem 0;
  position: relative;
}
.node-event.node-list > div {
  display: table-cell;
  vertical-align: top;
}
.node-event.node-list .event-qrcode {
  width: 180px;
}
.node-event.node-list .event-meta {
  display: inline-table;
  width: 100%;
}
.node-event.node-list .event-meta > div {
  padding: 8px 0;
  display: table-cell;
  vertical-align: middle;
  background-color: #5eb95e;
  color: #ffffff;
  border-right: 1px solid #ffffff;
}
.node-event.node-list.closed .event-meta > div {
  background-color: #e6e6e6;
  color: #999999;
}
.node-event.node-list.closed div.event-status {
  background-color: #999999;
  color: #ffffff;
}
.node-event.node-list .event-status-wrap {
  padding: 0.6rem;
}
.node-event.node-list div.event-status {
  width: 1.2em;
  padding: 0 8px;
  line-height: 1.2;
  white-space: normal;
}
.node-event.node-list .event-location {
  font-size: 32px;
  font-weight: bold;
  width: 120px;
  text-align: center;
  white-space: nowrap;
}
.node-event.node-list div.event-brief {
  text-align: left;
  line-height: 1.5;
  padding-left: 1rem;
}
.node-event.node-list .event-title {
  font-size: 20px;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
}
.node-event.node-list .event-title a {
  color: #fff;
}
.node-event.node-list .event-title a:hover {
  color: gold;
}
.node-event.node-list .event-overview {
  padding: 1rem;
}
.node-event.node-full header {
  margin: 20px;
  text-align: center;
}
/**
 * Common
 */
.user-picture img {
  max-width: 100%;
  height: auto;
}
/**
 * user login/register/password page
 */
.page-user.not-logged-in .tabs.primary {
  display: none;
  visibility: hidden;
}
#user-register-form .am-form-label {
  padding-right: 0;
}
#user-register-form .csna-items {
  display: none;
}
.form-user-login .form-item:before,
.form-user-login .form-item:after {
  content: " ";
  display: table;
}
.form-user-login .form-item:after {
  clear: both;
}
.form-user-login .form-item label {
  float: left;
  width: 20%;
  padding: 0 10px;
  text-align: right;
}
.form-user-login .form-item .form-text {
  float: left;
  width: 40%;
}
.form-user-login .form-item span.error {
  float: left;
  padding: 0 10px;
}
.form-user-login .am-form-group-sm {
  line-height: 3rem;
}
.form-user-login .am-form-help {
  float: left;
  width: 100%;
  padding-left: 20%;
  text-align: left;
  line-height: 1;
}
.form-user-login .form-actions {
  padding-left: 20%;
}
.form-user-login .forgot-passwd {
  margin-left: 20px;
}
.form-user-login #third-parties-login {
  margin-top: 30px;
}
.form-user-login #third-parties-login .hd {
  font-size: 1.2rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #999;
}
.form-user-login .csna-items {
  display: none;
}
.modal-login #modal-title {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #999;
}
.modal-login .am-modal-bd {
  text-align: left;
}
.modal-login .messages.error {
  font-size: 1.4rem;
  padding: 5px;
  margin-top: -20px;
  margin-bottom: 10px;
  color: #DD514C;
}
.modal-login .reg {
  position: absolute;
  top: 35px;
  right: 20px;
  font-size: 1.2rem;
}
.modal-login .ajax-progress-throbber {
  display: none;
}
/**
 * User center
 */
.page-user .tabs-wrapper {
  display: none;
}
#user-profile .basic {
  overflow: hidden;
}
#user-profile .username {
  margin-top: 0;
}
#user-profile .user-picture {
  width: 150px;
  float: left;
  margin-right: 20px;
}
#user-profile .user-picture img {
  border-radius: 0;
}
#user-profile .userpoints-points {
  list-style: none;
}
#user-profile .userpoints-points em {
  font-style: normal;
}
#user-profile .profile-form {
  clear: both;
  overflow: hidden;
}
#user-profile-form fieldset {
  padding-left: 0;
}
#user-profile-form legend {
  margin-bottom: 0;
}
#user-profile-form .user-picture {
  margin-right: 20px;
  width: 100px;
  float: left;
}
#user-profile-form #edit-mail-desc {
  display: none;
}
.field-type-china-address label {
  display: none;
}
.field-type-china-address .form-item {
  margin: 0 10px 0 0;
}
.field-type-china-address .form-select {
  padding-right: 20px;
}
